object exces2 {
  def main(args: Array[String]): Unit ={


    val phone = "15192298516"
    val number = "123456"
    val st = 1

    if(phone.length != 11){
      println("请输入正确手机号")
    }
    else if(number != "123456"){
      println("请输入正确验证码")
    }
    else if(st != 1){
      println("请阅读并同意用户协议")
    }
    else{
      println("登陆成功，欢迎您！")
    }

  }


}
